package cn.dz.heima02;

/**
 * @ClassName Student
 * @package: cn.dz.heima02
 * @Description 学生类
 * @Author dz
 * @Date 2025/2/5 16:13
 * @Version 1.0
 **/
public class Student {
    String name;
    int age;

    //成员方法
    public void study() {
        System.out.println("好好学习，天天向上");
    }

    public void doHomework() {
        System.out.println("键盘敲烂，月薪过万");
    }

}
